
package com.gemom;

import com.gemom.combinationItems.*;

/**
 *
 * @author Yair Diaz
 */
public class Test {

    public static void main(String[]args){
		
    int numberitems=8;
    //Generation of items
        Item[] arrayItems= new Item[numberitems];
        for(int i=0;i<arrayItems.length;i++)
                arrayItems[i] = new Item(i+1,5.0,0.0,0.0);//itemrate zero for now
        

	SearchCombinations brokerCombis = new SearchCombinations(arrayItems,12.0);
	
       // Vector<Vector<Item>> combis= brokerCombis.getCombinations();
        brokerCombis.printCombinations();
        
        
        System.out.println(brokerCombis.getNumberCombinations());
        System.out.println("Visits: "+brokerCombis.visits);
        }
}
